<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
                "http://www.w3.org/TR/REC-html40/loose.dtd">
<html>
<head>
  <title>Description of gsig</title>
  <meta name="keywords" content="gsig">
  <meta name="description" content="Generate various time and frequency-varying test signals">
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
  <meta name="robots" content="index, follow">
  <link type="text/css" rel="stylesheet" href="../m2html.css">
</head>
<body>
<a name="_top"></a>
<!-- menu.html hdocs -->
<h1>gsig
&nbsp;&nbsp;<img src="../mex.png" alt="Linux PC" border="0" title="Linux PC"></h1>

<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../up.png"></a></h2>
<div class="box"><strong>Generate various time and frequency-varying test signals</strong></div>

<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../up.png"></a></h2>
<div class="fragment"><pre class="comment"> Generate various time and frequency-varying test signals

 Usage 1:

   output = gsig( data_type, f1, f2, num_samples, sig_type);


   Inputs

    data_type 

          'lin' linear FM
          'quad' quadratic FM
          'cubic' cubic FM
          'hyp' hyperbolic FM

    f1, f2 

          normalised frequency bounds for the signal (i.e. taking
          sampling frequency as 1 Hz) and sig_type=1 for real data 
          otherwise  the result is complex.

    num_samples 

          is the number of generated data samples.


      sig_type

          Must be 0 (analytic) or 1 (real).

 Usage 2: 

   output = gsig( 'sin', cf, mf, num_samples, sig_type, fdev );

   
   Inputs

    cf and mf 

          central and modulation frequencies.

       fdev 
 
          frequency deviation.

 Usage 3:
    
   output1 = gsig( 'step', f1, f2, num_samples, sig_type, ns );

   Inputs

    f1, f2 

          The normalised frequency bounds for the signal (i.e. taking
       sampling frequency as 1 Hz). 

       ns

          The number of steps. 



  See Also: <a href="analyt.html" class="code" title="">analyt</a></pre></div>

<!-- crossreference -->
<!-- removed -->
<!-- crossreference -->



<hr><address>Generated by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" target="_parent">m2html</a></strong> &copy; 2016</address>
</body>
</html>